<?php
use yii\helpers\Url;
?>
<div class="header">
<div class="wrapin">
<div class="header_logo"><img src="/images/logo.png"></div>
<div class="header_banner">
<div class="flexslider">
  <ul class="slides">

<!--取得一个分页DataTable-->

<li style="background: url(https://lssqx.oss-cn-hangzhou.aliyuncs.com/ad/mytopbg2.jpg) 50% 0px no-repeat; width: 100%; float: left; margin-right: -100%; position: relative; opacity: 0.88692; display: block; z-index: 2;" class="flex-active-slide"></li>

<li style="background: url(https://lssqx.oss-cn-hangzhou.aliyuncs.com/ad/mytopbg1.jpg) 50% 0px no-repeat; width: 100%; float: left; margin-right: -100%; position: relative; opacity: 0.11308; display: block; z-index: 1;" class=""></li>

</ul>
<ol class="flex-control-nav flex-control-paging"><li><a class="flex-active">1</a></li><li><a class="">2</a></li></ol><ul class="flex-direction-nav"><li><a class="flex-prev" href="#"></a></li><li><a class="flex-next" href="#"></a></li></ul></div>
</div>

<div class="header_nav">
<ul>
<li><a href="/" id="<?= empty(\Yii::$app->request->get('id')) && \Yii::$app->controller->action->id == 'index' ? 't1' : ''?>"><span>网站首页</span></a></li>
<li><a href="<?= Url::to(['/site/page-list', 'id' => 2])?>" id="<?= in_array(\Yii::$app->request->get('id'), ['2', '15', '14', '16'])  ? 't1' : ''?>"><span>学校简介</span></a> </li>
<li><a href="<?= Url::to(['/site/show', 'id' => 10])?>" id="<?= \Yii::$app->request->get('id') == 10 ? 't1' : ''?>"><span>学校荣誉</span></a> </li>
<li><a href="" id="t4"><span>学校资讯</span></a> </li>
<li><a href="<?= Url::to(['/site/show', 'id' => 11])?>" id="<?= \Yii::$app->request->get('id') == 11 ? 't1' : ''?>"><span>学车指南</span></a> </li>
<li><a href="<?= Url::to(['/course'])?>" id="t7"><span>网上报名</span></a> </li>
<li><a href="<?= Url::to(['/site/coach-list'])?>" id="<?= \Yii::$app->controller->action->id == 'coach-list' ? 't1' : ''?>"><span>教练员</span></a></li>
<li><a href="<?= Url::to(['/site/show', 'id' => 13])?>" id="<?= \Yii::$app->request->get('id') == 13 ? 't1' : ''?>"><span>继续教育</span></a> </li>
<li><a href="http://mnks.jxedt.com/" target="_blank" id="t10"><span>模拟练习</span></a></li>
</ul>
</div>


</div>
</div>
